package org.gap.service;

import java.util.List;
import java.util.Set;

import org.gap.domain.Adresses;
import org.gap.domain.CodesPostaux;
import org.gap.domain.Pays;

/**
 * Spring service that handles CRUD requests for CodesPostaux entities
 * 
 */
public interface CodesPostauxService {

	/**
	 * Save an existing Pays entity
	 * 
	 */
	public CodesPostaux saveCodesPostauxPays(String cdpPays, String cdpCodePostal, String cdpNInsee, String cdpLocalite, Pays related_pays);

	/**
	 * Delete an existing Pays entity
	 * 
	 */
	public CodesPostaux deleteCodesPostauxPays(String codespostaux_cdpPays, String codespostaux_cdpCodePostal, String codespostaux_cdpNInsee, String codespostaux_cdpLocalite, String related_pays_pppPays);

	/**
	 * Return all CodesPostaux entity
	 * 
	 */
	public List<CodesPostaux> findAllCodesPostauxs(Integer startResult, Integer maxRows);

	/**
	 * Save an existing Adresses entity
	 * 
	 */
	public CodesPostaux saveCodesPostauxAdresseses(String cdpPays_1, String cdpCodePostal_1, String cdpNInsee_1, String cdpLocalite_1, Adresses related_adresseses);

	/**
	 * Load an existing CodesPostaux entity
	 * 
	 */
	public Set<CodesPostaux> loadCodesPostauxs();

	/**
	 * Save an existing CodesPostaux entity
	 * 
	 */
	public void saveCodesPostaux(CodesPostaux codespostaux);

	/**
	 * Return a count of all CodesPostaux entity
	 * 
	 */
	public Integer countCodesPostauxs();

	/**
	 * Delete an existing CodesPostaux entity
	 * 
	 */
	public void deleteCodesPostaux(CodesPostaux codespostaux_1);

	/**
	 */
	public CodesPostaux findCodesPostauxByPrimaryKey(String cdpPays_2, String cdpCodePostal_2, String cdpNInsee_2, String cdpLocalite_2);

	/**
	 * Delete an existing Adresses entity
	 * 
	 */
	public CodesPostaux deleteCodesPostauxAdresseses(String codespostaux_cdpPays_1, String codespostaux_cdpCodePostal_1, String codespostaux_cdpNInsee_1, String codespostaux_cdpLocalite_1, Integer related_adresseses_addAdresse);
}